/* RFH Color Variables */
:root {
    --rfh-blue: #004a99;
    --rfh-red: #e31e24;
    --rfh-dark: #1a1a1a;
    --text-gray: #555;
    --light-bg: #f8f9fa;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 80px 0;
}

.section.light {
    background: var(--light-bg);
}

h1,
h2 {
    margin-bottom: 20px;
    color: var(--rfh-dark);
    font-weight: 400;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(0, 74, 153, 0.9) 0%, rgba(0, 61, 122, 0.9) 100%), url('hero_landscape.png') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 30px;
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-home:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateX(-5px);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--rfh-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c01a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(227, 30, 36, 0.3);
}

/* Divider */
.divider {
    height: 2px;
    width: 60px;
    background-color: var(--rfh-red);
    margin: 20px auto 40px;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.services a {
    text-decoration: none;
    color: inherit;
}

.card {
    background: var(--white);
    padding: 35px 25px;
    text-align: center;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: var(--rfh-dark);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-top-color: var(--rfh-red);
}

/* Why Choose Us */
.reasons {
    list-style: none;
    max-width: 800px;
    margin: 40px auto 0;
}

.reasons li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-gray);
}

.reasons li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--rfh-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Statistics Section */
.statistics {
    background: url('stand_bg.png') no-repeat center center/cover;
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 74, 153, 0.9);
    z-index: 1;
}

.statistics .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: var(--rfh-red);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3.5rem;
    color: var(--white);
    font-weight: 700;
    margin: 10px 0;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Mission Section */
.mission {
    background: url('services_bg.png') no-repeat center center/cover;
    position: relative;
    color: var(--white);
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.85);
    z-index: 1;
}

.mission .container {
    position: relative;
    z-index: 2;
}

.mission h2,
.mission p {
    color: var(--white);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Vision Section */
.vision p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact */
.contact {
    background: var(--rfh-blue);
    color: var(--white);
}

.contact h2 {
    color: var(--white);
}

.contact p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.contact strong {
    color: var(--white);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--text-gray);
    padding: 80px 0 20px;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
}

.about-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 15px;
    padding-left: 10px;
}


.logo img {
    max-width: 250px;
    height: auto;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    
}



.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.about-col .logo {
    flex-shrink: 0;
}

.logo-icon-small {
    font-size: 18px;
    color: var(--rfh-red);
    border: 2px solid var(--rfh-red);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.logo-text-small {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.company-name-small {
    font-weight: 700;
    color: var(--rfh-blue);
    font-size: 1rem;
}

.company-suffix-small {
    font-size: 0.7rem;
    color: var(--rfh-red);
    font-weight: 600;
}

footer h4 {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contact-divider {
    width: 40px;
    height: 2px;
    background-color: var(--rfh-red);
    margin-bottom: 25px;
}

.contact-col p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
    border-bottom: 1px solid #ECEFF1;
    padding-bottom: 5px;
}

.footer-bottom {
    display: block;
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid #ECEFF1;
    font-size: 0.85rem;
    color: #B0BEC5;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.newsletter-btn {
    background-color: var(--rfh-red);
    position: relative;
}

.newsletter-btn:hover {
    background-color: var(--rfh-blue);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.newsletter-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--rfh-dark);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-right: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}



@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background-color: var(--rfh-blue);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--white);
}

.chat-header button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
}

.chat-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 15px;
    flex: 1;
    overflow-y: auto;
}

.chat-body .message {
    margin-bottom: 10px;
    max-width: 80%;
    clear: both;
    position: relative;
    word-wrap: break-word;
}

.bot-message {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px 10px 10px 0;
    font-size: 0.9rem;
    color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
}

.bot-message p {
    margin: 0;
    white-space: pre-wrap;
}

.bot-message .time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 5px;
    display: block;
}

.chat-footer {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    background-color: var(--white);
}

.chat-footer input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
    font-size: 0.9rem;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--rfh-blue);
    font-size: 1.2rem;
    margin-left: 10px;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #FF0000;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: none;
    cursor: pointer;
}

.fab-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn {
    background-color: #25D366;
    text-decoration: none;
}

.chat-btn {
    background-color: var(--rfh-blue);
}

#chatWidget.active~.floating-buttons .whatsapp-btn {
    display: none;
}

.chat-wrapper {
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .logo img {
        max-width: 200px !important;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
